package com.shiku.utils;


public class Base64 {
    public static String encode(byte[] data) {
        return java.util.Base64.getEncoder().encodeToString(data);
    }


    public static byte[] decode(String s) {
        return java.util.Base64.getDecoder().decode(s);
    }
}


